//
//  UserCenter.h
//  PalmHospitalTongJi
//
//  Created by leon on 13-11-20.
//  Copyright (c) 2013年 lvxian. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "CommonData.h"
#import "Profile.h"
@interface UserCenter : NSObject
@property (nonatomic,strong) NSString      *authToken;
@property (nonatomic,strong,readonly) NSString      *userName;
@property (nonatomic,strong,readonly) NSString      *userId;
@property (nonatomic,assign,readonly) BOOL          isLogined;
@property (nonatomic,strong)          Profile       *user;
//@property (nonatomic,strong)          ShengFenXinXi *shengFenXinXi;



+ (instancetype)shareCenter;

//- (void)loginUserName:(NSString*)userName
//               passwd:(NSString*)passwd
//           completion:(void (^)(modelLogin *response, NSError *error))completion;
//
//- (void)logout:(void (^)(PMLResponseModelBase* error))completion;
//
//-(void)verifyForgetPwdParams:(NSDictionary*)params completion:(void (^)(PMLResponseModelBase* base,NSError *error))completion;
//- (void)verifyRegisterCheckCodeParams:(NSDictionary*)params
//                           completion:(void (^)(PMLResponseModelBase* base,NSError *error))completion;
//
//- (void)getProfiles:(void (^)(Profile * profile))completiton;
//
//- (void)refreshProfiles:(void (^)(Profile * profile))completiton;
//
//- (void)clearUserState;

@end
